package com.cuitrip.business.order.model;

import com.lab.adapter.IAdapterData;

import java.io.Serializable;

/**
 * Created by baziii on 15/8/7.
 */
public class ConversationOrderItem extends OrderItem implements IAdapterData, Serializable{
    private String id;
    private int unreadCount;
    private String lastWords;
    private String time;
    private long last = 0;

    public void setLast(long last) {
        this.last = last;
    }

    public long getLast() {
        return last;
    }


    public int getUnreadCount() {
        return unreadCount;
    }

    public void setUnreadCount(int unreadCount) {
        this.unreadCount = unreadCount;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setLastWords(String lastWords) {
        this.lastWords = lastWords;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getId() {
        return id;
    }


    public String getLastWords() {
        return lastWords;
    }

    public String getTime() {
        return time;
    }

    @Override
    public String toString() {
        return "ConversationItem{" +
                "name='" + userNick + '\'' +
                ", id='" + id + '\'' +
                ", last=" + last +
                '}';
    }
}
